// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 质效评估 重点报道 列表 POST */
export async function pagePriority(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<AssessWeekCulturePriorityData.PriorityPage[]>>(
    '/assess/week/culture/priority/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 质效评估 重点报道 选择 POST */
export async function selectPriority(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AssessWeekCulturePriorityData.PrioritySelect>>(
    '/assess/week/culture/priority/select',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 质效评估 重点报道 下架 POST */
export async function savePriority(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/culture/priority/save', {
    method: 'POST',
    data: options || {},
  });
}

/** 质效评估 重点报道 下架 POST */
export async function updatePriority(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/culture/priority/update', {
    method: 'POST',
    data: options || {},
  });
}
